feat(adapter-zalo): Add Zalo adapter and update documentation#331
feat(adapter-zalo): Add Zalo adapter and update documentation#331buiducnhat wants to merge 4 commits intovercel:mainfrom
Conversation
- Add ZaloAdapter class to handle messaging via Zalo Bot Platform API. - Implement message handling, including text, image, and sticker messages. - Create ZaloFormatConverter for markdown to plain text conversion. - Add types for Zalo API responses and webhook payloads. - Implement message splitting to comply with Zalo's 2000-character limit. - Add tests for ZaloFormatConverter to ensure proper formatting and parsing. - Configure TypeScript and build settings for the adapter package. - Update pnpm lockfile and turbo.json for environment variables.
|
@buiducnhat is attempting to deploy a commit to the Vercel Labs Team on Vercel. A member of the Team first needs to authorize it. |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Hey @buiducnhat! Thank you so much for your contribution! This would be a better fit as a vendor-official or community adapter. As any official adapter must be something we can actively maintain and is global in scope. If you are interested in publishing it as a community adapter, we are happy to list it on the directory. |
Thank you, I will apply for the community adapter |
Summary
Zalo is the most popular chat platform in Viet Nam with about 80M accounts in 2026. So we want to have a native adapter for this project.
@chat-adapter/zalo) for the Chat SDK, enabling bots to runon the Zalo OA platform
adapters.json, logos, adapter card)/docs/adapters/docsindexpackages/adapter-zalo/README.mdwith usage detailsTest plan
pnpm build— all packages build cleanlypnpm --filter docs build— docs app builds without errorspnpm -w run check— lint/format passes/adaptersand confirm Zalo card appears in the grid/docs/adaptersand confirm Zalo column appears in all four featurematrix tables with correct ✅/❌/
/docsand confirm Zalo row is present in the supported platforms table